<?php

class Zend_View_Helper_SubStr{
	
	public function subStr($str, $start, $length, $charset = "utf-8", $endstr=".."){
		
		Zend_Loader::loadClass('CString');
		
		return CString::csubstr($str,$start,$length,$charset,$endstr);
		
	}

}

